﻿namespace DataManageSystem.Exceptions
{
    public class ServiceException : Exception
    {
        public string Code { get; set; }

        public ServiceException(string message) : base(message)
        {
            Code = "500";
        }
        public ServiceException(string code, string message) : base(message)
        {
            Code = code;
        }
    }
}
